import { Row, Col, Tag, Image } from 'myselfantd';
import type { CardProps } from 'antd';
import styles from './index.module.scss';
import React from 'react';
// import defaultMachine from '@/assets/images/defaultMachine.png';
interface Props {
  item?: any;
}
const App: React.FC<CardProps & Props> = (props) => {
  let { item } = props;
  return (
    <Row gutter={17} wrap={false} style={{ padding: '0 20px' }}>
      <Col>
        {/* <Image className={styles.image} src={item.image || defaultMachine} height={80} width={80} /> */}
      </Col>
      <Col flex={1}>
        <p className={styles.title}>{item.name}</p>
        <Tag noborder={1} limitLength={1}>
          {item.note}
        </Tag>
      </Col>
    </Row>
  );
};
export default App;
